package items;
		public class Card {
		    public enum Rank { DEUCE(2), THREE(3), FOUR(4), FIVE(5), SIX(6),
		        SEVEN(7), EIGHT(8), NINE(9), TEN(10), JACK(11), QUEEN(12), KING(13), ACE(14);
		        private int Rankpoints;
		    private Rank(int points){
		    	this.Rankpoints = points;
		    }
		    }
		    public enum Suit {CLUBS, DIAMONDS, HEARTS, SPADES }
		    private final Rank rank;
		    private final Suit suit;
		    private Card(Rank rank, Suit suit) {
		        this.rank = rank;
		        this.suit = suit;
		    }
		    public Rank rank() { return rank; }
		    public int RankToInt(Rank rank) { return rank.Rankpoints;}
		    public Suit suit() { return suit; }
		    public String toString() { return rank + " of " + suit; }
		}